package com.bbc.service.user;

import java.util.List;

import com.bbc.entity.user.User;
import com.bbc.entity.user.UserQuery;

public interface UserService {
	
	Integer addUser(User user);
	List<User> findUser(UserQuery query,int page,int pageSize);
	void updateUser(User user);
	User findUserById(Integer id);
	User findUserByNP(String name,String pwd);
	User login(User user);
	boolean check(String type,String value);

}
